Skip to content

Conversation

@copybara-service
Copy link

feat: Update model resolution logic for LLM agents

This change refactors the model resolution logic within the LlmAgent to utilize the LlmRegistry for looking up model instances by name. It also introduces a canonicalModel() method to ensure a BaseLlm instance is consistently available, simplifying model access in flows.

@copybara-service copybara-service bot force-pushed the test_791915369 branch 3 times, most recently from c2f2a5a to b0c0e76 Compare August 7, 2025 23:52
This change refactors the model resolution logic within the LlmAgent to utilize the LlmRegistry for looking up model instances by name. It also introduces a canonicalModel() method to ensure a BaseLlm instance is consistently available, simplifying model access in flows.

PiperOrigin-RevId: 792361836
@copybara-service copybara-service bot merged commit 4fc83f0 into main Aug 7, 2025
@copybara-service copybara-service bot deleted the test_791915369 branch August 7, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant